package com.linkhub.oms.common.enums.mp;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.linkhub.oms.common.enums.IEnumConvert;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 单据类型
 *
 * @author Frank
 */
@Getter
@AllArgsConstructor
public enum DocumentTypeEnum implements IEnumConvert<Integer> {
    /**
     * 单据类型：
     */
    PICK_UP_ORDER(1, "提货单"),
    ORDER(2, "订单"),
    RECHARGE_ORDER(3, "充值单"),
    PROCESS_ORDER(4, "加工单"),
    RETURN_ORDER(5, "退货单")
    ;
    @EnumValue
    private final Integer code;
    private final String desc;


}
